gtk4.git
14 years agoMake naming of tree model unit tests consistent
Kristian Rietveld [Mon, 9 May 2011 06:32:11 +0000 (08:32 +0200)]
Make naming of tree model unit tests consistent

All test paths now start with the name of the class which is being
tested.

14 years agoPut all GtkTreeModel unit tests in a single binary
Kristian Rietveld [Mon, 9 May 2011 06:25:27 +0000 (08:25 +0200)]
Put all GtkTreeModel unit tests in a single binary

This to reduce linking time and have all tests in a single binary.

14 years agowidget-factory: add the primary-toolbar hint to the toolbar
Cosimo Cecchi [Mon, 22 Aug 2011 15:40:41 +0000 (11:40 -0400)]
widget-factory: add the primary-toolbar hint to the toolbar

14 years agoUpdate config.h.win32.in
Chun-wei Fan [Fri, 19 Aug 2011 06:33:20 +0000 (14:33 +0800)]
Update config.h.win32.in

-Only define HAVE_STRINGS_H when MSVC is not used
-Define HVE_STDINT_H for Visual C++ 2010 and later, as Visual C++ 2010
 does ship with a "proper" stdint.h by default
-Add check macros HAVE_RINT and HAVE_ROUND--they are only defined when
 MSVC is not used
-Remove obsolete check macros

14 years agoUpdate configure.ac to check for rint()/round()
Chun-wei Fan [Fri, 19 Aug 2011 07:38:47 +0000 (15:38 +0800)]
Update configure.ac to check for rint()/round()

Added check in configure.ac to check for the rint() and
round() functions as they are normally only available in C99
compilers.

14 years agoInclude C89 fallback code
Chun-wei Fan [Fri, 19 Aug 2011 06:26:52 +0000 (14:26 +0800)]
Include C89 fallback code

gtk/gtkborderimage.c, gtk/gtklabel.c and gtk/gtkstyleproperty.c call
round() and/or rint(), which was only available in C99 compilers.

This adds the inclusion of the fallback implementation (gtk/fallback-c89.c)
to define these functions if they are not initially made available by the
compiler.

Also remove the rint() implementation in gtk/gtklabel.c as it is now in
the fallback implmentation.

14 years agoAdd fallback implemetation for rint()/round()
Chun-wei Fan [Fri, 19 Aug 2011 07:56:32 +0000 (15:56 +0800)]
Add fallback implemetation for rint()/round()

Add an implementation for rint() and round() for compilers that do not
define one or both of them.  Note that this file should be included
after config.h was included.

14 years agoUpdated Persian translation
Arash Mousavi [Fri, 19 Aug 2011 20:29:30 +0000 (00:59 +0430)]
Updated Persian translation

14 years agoBug 656851 – Allow use of GVariant in GtkListStore
David Zeuthen [Thu, 18 Aug 2011 21:07:13 +0000 (17:07 -0400)]
Bug 656851 – Allow use of GVariant in GtkListStore

Signed-off-by: David Zeuthen <davidz@redhat.com>
14 years agoAdded UG translation
Abduxukur Abdurixit [Fri, 19 Aug 2011 17:57:26 +0000 (19:57 +0200)]
Added UG translation

14 years agoUpdated Indonesian translation
Andika Triwidada [Thu, 18 Aug 2011 09:29:40 +0000 (16:29 +0700)]
Updated Indonesian translation

14 years agoUpdated Spanish translation
Daniel Mustieles [Tue, 16 Aug 2011 23:39:00 +0000 (01:39 +0200)]
Updated Spanish translation

14 years agoUse GtkFontChooser in testtoplevelembed
Matthias Clasen [Tue, 16 Aug 2011 14:42:54 +0000 (10:42 -0400)]
Use GtkFontChooser in testtoplevelembed

This was pointed out in bug 656639.

14 years agoUpdated Galician translations
Fran Dieguez [Tue, 16 Aug 2011 11:31:28 +0000 (13:31 +0200)]
Updated Galician translations

14 years agoUpdate VS property sheets
Chun-wei Fan [Tue, 16 Aug 2011 06:38:03 +0000 (14:38 +0800)]
Update VS property sheets

Copy the Win32-specific GDK backend headers during the "install" stage
as well, as they were missed in the install, causing trouble when
building other projects like WebKitGTK+.

Thanks to greg.hellings for pointing this out in Bug 653964.

14 years agoPost-release bump
Matthias Clasen [Tue, 16 Aug 2011 02:01:55 +0000 (22:01 -0400)]
Post-release bump

14 years ago3.1.12
Matthias Clasen [Tue, 16 Aug 2011 01:57:10 +0000 (21:57 -0400)]
3.1.12

14 years agoupdate translation for Punjabi
A S Alam [Tue, 16 Aug 2011 01:28:45 +0000 (06:58 +0530)]
update translation for Punjabi

14 years agoFix up symbol lists for recent api additions
Matthias Clasen [Tue, 16 Aug 2011 01:25:58 +0000 (21:25 -0400)]
Fix up symbol lists for recent api additions

14 years agoUpdate NEWS for 3.1.12
Matthias Clasen [Tue, 16 Aug 2011 00:49:53 +0000 (20:49 -0400)]
Update NEWS for 3.1.12

14 years agotestgtk: remove dead code
Matthias Clasen [Mon, 15 Aug 2011 23:40:24 +0000 (19:40 -0400)]
testgtk: remove dead code

14 years agoFix a typo
Matthias Clasen [Mon, 15 Aug 2011 23:24:59 +0000 (19:24 -0400)]
Fix a typo

14 years agoMake setting fontname work, independent of a screen
Matthias Clasen [Mon, 15 Aug 2011 03:46:14 +0000 (23:46 -0400)]
Make setting fontname work, independent of a screen

14 years agoKeep the currently selected font over theme changes
Matthias Clasen [Mon, 15 Aug 2011 03:16:45 +0000 (23:16 -0400)]
Keep the currently selected font over theme changes

When repopulating the list of fonts, don't loose the current
selection, unless the font is no longer in the list.

14 years agoDeprecate GtkFontSelection and GtkFontSelectionDialog
Matthias Clasen [Mon, 15 Aug 2011 02:51:39 +0000 (22:51 -0400)]
Deprecate GtkFontSelection and GtkFontSelectionDialog

14 years agoTrivial formatting fix
Matthias Clasen [Mon, 15 Aug 2011 02:50:44 +0000 (22:50 -0400)]
Trivial formatting fix

14 years agoAdd docs
Matthias Clasen [Mon, 15 Aug 2011 02:33:23 +0000 (22:33 -0400)]
Add docs

14 years agoAdd new symbols
Matthias Clasen [Mon, 15 Aug 2011 02:33:10 +0000 (22:33 -0400)]
Add new symbols

14 years agoAdd filtering to the font chooser
Matthias Clasen [Mon, 15 Aug 2011 02:20:00 +0000 (22:20 -0400)]
Add filtering to the font chooser

14 years agoAdd 'no matches' functionality
Matthias Clasen [Thu, 11 Aug 2011 09:23:21 +0000 (11:23 +0200)]
Add 'no matches' functionality

Initial cut at showing a 'no matches' message if the font list
is empty.

14 years agoMake the fontchooser dialog come up in a reasonable size
Matthias Clasen [Tue, 9 Aug 2011 14:13:58 +0000 (16:13 +0200)]
Make the fontchooser dialog come up in a reasonable size

This is not a perfect solution; we really just want to set
a nice default size, but GTK+ does not make that easy.

14 years agoJust use a single grid
Matthias Clasen [Tue, 9 Aug 2011 07:24:39 +0000 (09:24 +0200)]
Just use a single grid

The subgrid didn't really add anything.

14 years agoClean up error handling
Matthias Clasen [Tue, 9 Aug 2011 00:11:38 +0000 (02:11 +0200)]
Clean up error handling

14 years agoRename some statics
Matthias Clasen [Tue, 9 Aug 2011 00:07:47 +0000 (02:07 +0200)]
Rename some statics

gtk_font_chooser_ref_{family,face} -> gtk_font_chooser_set_{family,face}

14 years agoAvoid extraneous signals at destroy time
Matthias Clasen [Tue, 9 Aug 2011 00:04:22 +0000 (02:04 +0200)]
Avoid extraneous signals at destroy time

We need to disconnect the cursor-changed handler before the
treeview gets destroyed, to avoid unwanted emissions.

14 years agoFix minor issues in the tests
Matthias Clasen [Tue, 9 Aug 2011 00:02:55 +0000 (02:02 +0200)]
Fix minor issues in the tests

14 years agoSimplify a few things
Matthias Clasen [Mon, 8 Aug 2011 23:10:39 +0000 (01:10 +0200)]
Simplify a few things

Adwaita seems to misrender focus on entries with margins, so
use spacing instead. Also, don't use entry buffer unnecessarily.

14 years agoTrivial formatting fixes
Matthias Clasen [Mon, 8 Aug 2011 22:10:00 +0000 (00:10 +0200)]
Trivial formatting fixes

Just committing these is easier than writing them up.

14 years agoGtkFontChooserDialog: GtkFontButton now uses GtkFontChooserDialog instead of GtkFontS...
Alberto Ruiz [Wed, 27 Jul 2011 23:22:22 +0000 (00:22 +0100)]
GtkFontChooserDialog: GtkFontButton now uses GtkFontChooserDialog instead of GtkFontSelectionDialog

14 years agoGtkFontChooser: get_font_name did not return the font size
Alberto Ruiz [Wed, 27 Jul 2011 23:21:40 +0000 (00:21 +0100)]
GtkFontChooser: get_font_name did not return the font size

14 years agoGtkFontChooser: Stub code to handle empty list by search.
Alberto Ruiz [Wed, 27 Jul 2011 22:24:15 +0000 (23:24 +0100)]
GtkFontChooser: Stub code to handle empty list by search.

14 years agoGtkFontChooser: font-name property notification wasn't properly propagated during...
Alberto Ruiz [Wed, 27 Jul 2011 13:11:43 +0000 (14:11 +0100)]
GtkFontChooser: font-name property notification wasn't properly propagated during size change from the spinbutton

14 years agoGtkFontChooser: Missing G_END_DECLS in fontchooser header
Alberto Ruiz [Wed, 27 Jul 2011 12:04:21 +0000 (13:04 +0100)]
GtkFontChooser: Missing G_END_DECLS in fontchooser header

14 years agoGtkFontChooser: Using G_N_ELEMENTS instead of a define
Alberto Ruiz [Mon, 25 Jul 2011 17:37:13 +0000 (18:37 +0100)]
GtkFontChooser: Using G_N_ELEMENTS instead of a define

14 years agoGtkFontChooser: Using the widget instead of the private struct as signal data in...
Alberto Ruiz [Mon, 25 Jul 2011 17:16:55 +0000 (18:16 +0100)]
GtkFontChooser: Using the widget instead of the private struct as signal data in all conects

14 years agoGtkFontChooser: Fixed coding style wrt spacing around operators
Alberto Ruiz [Mon, 25 Jul 2011 16:46:50 +0000 (17:46 +0100)]
GtkFontChooser: Fixed coding style wrt spacing around operators

14 years agoGtkFontChooser: Using explicit comparisons for g_strcmp0
Alberto Ruiz [Mon, 25 Jul 2011 16:41:59 +0000 (17:41 +0100)]
GtkFontChooser: Using explicit comparisons for g_strcmp0

14 years agoGtkFontChooser: Added missing breaks in switch statements
Alberto Ruiz [Mon, 25 Jul 2011 16:38:54 +0000 (17:38 +0100)]
GtkFontChooser: Added missing breaks in switch statements

14 years agoGtkFontChooser: Setting all ought to be static functions as static
Alberto Ruiz [Mon, 25 Jul 2011 16:35:36 +0000 (17:35 +0100)]
GtkFontChooser: Setting all ought to be static functions as static

14 years agoGtkFontChooserDialog: Add parent window as a parameter in the constructor
Alberto Ruiz [Mon, 25 Jul 2011 16:14:49 +0000 (17:14 +0100)]
GtkFontChooserDialog: Add parent window as a parameter in the constructor

14 years agoGtkFontChooserDialog: Fix get_font_chooser public function name
Alberto Ruiz [Mon, 25 Jul 2011 15:34:02 +0000 (16:34 +0100)]
GtkFontChooserDialog: Fix get_font_chooser public function name

14 years agoGtkFontChooser: Set correct margin values between UI elements
Alberto Ruiz [Mon, 25 Jul 2011 15:30:28 +0000 (16:30 +0100)]
GtkFontChooser: Set correct margin values between UI elements

14 years agoGtkFontChooserDialog: Use g_object_new to set initial values in the dialog constructor
Alberto Ruiz [Mon, 25 Jul 2011 15:08:23 +0000 (16:08 +0100)]
GtkFontChooserDialog: Use g_object_new to set initial values in the dialog constructor

14 years agoGtkFontChooser: Remove outdated Copyright information
Alberto Ruiz [Mon, 25 Jul 2011 15:04:35 +0000 (16:04 +0100)]
GtkFontChooser: Remove outdated Copyright information

14 years agoGtkFontChooser: Fix size synchronization between slider and spin button
Alberto Ruiz [Mon, 25 Jul 2011 14:16:09 +0000 (15:16 +0100)]
GtkFontChooser: Fix size synchronization between slider and spin button

14 years agoGtkFontChooser: Cleanup comments and fix indentation alignments
Alberto Ruiz [Tue, 19 Jul 2011 22:43:57 +0000 (23:43 +0100)]
GtkFontChooser: Cleanup comments and fix indentation alignments

14 years agoGtkFontChooser: Remove default geometry defines
Alberto Ruiz [Wed, 13 Jul 2011 23:34:37 +0000 (00:34 +0100)]
GtkFontChooser: Remove default geometry defines

14 years agoGtkFontChooser: Fix scroll callback connected to treeview instead of preview
Alberto Ruiz [Wed, 13 Jul 2011 23:11:08 +0000 (00:11 +0100)]
GtkFontChooser: Fix scroll callback connected to treeview instead of preview

14 years agoGtkFontChooser: Remove the themed color for the font title
Alberto Ruiz [Wed, 13 Jul 2011 23:09:34 +0000 (00:09 +0100)]
GtkFontChooser: Remove the themed color for the font title

14 years agoGtkFontChooser: Use a nested grid to achieve the right layout in the size controls
Alberto Ruiz [Wed, 13 Jul 2011 22:53:44 +0000 (23:53 +0100)]
GtkFontChooser: Use a nested grid to achieve the right layout in the size controls

14 years agoGtkFontChooser: Fix expand and fill properties for the grid layout
Alberto Ruiz [Wed, 13 Jul 2011 22:06:43 +0000 (23:06 +0100)]
GtkFontChooser: Fix expand and fill properties for the grid layout

14 years agoGtkFontChooser: Use GtkBox instead of GtkVBox as base class.
Alberto Ruiz [Sun, 10 Jul 2011 19:30:00 +0000 (20:30 +0100)]
GtkFontChooser: Use GtkBox instead of GtkVBox as base class.

14 years agoGtkFontChooser: Use const instead of G_CONST_RETURN
Alberto Ruiz [Sat, 9 Jul 2011 02:16:03 +0000 (03:16 +0100)]
GtkFontChooser: Use const instead of G_CONST_RETURN

14 years agoGtkFontChooser: Add preview entry to the grid
Alberto Ruiz [Thu, 12 May 2011 00:41:10 +0000 (02:41 +0200)]
GtkFontChooser: Add preview entry to the grid

14 years agoGtkFontChooser: Initial work to use GtkGrid
Alberto Ruiz [Thu, 12 May 2011 00:32:47 +0000 (02:32 +0200)]
GtkFontChooser: Initial work to use GtkGrid

14 years agoGtkFontChooser: GtkFontChooserDialog: Update documenation to reflect Since: 3.2
Alberto Ruiz [Wed, 11 May 2011 23:55:14 +0000 (01:55 +0200)]
GtkFontChooser: GtkFontChooserDialog: Update documenation to reflect Since: 3.2

14 years agoGtkFontChooserDialog: Split the dialog out of gtkfontchooser.[ch] to gtkfontchooserdi...
Alberto Ruiz [Wed, 11 May 2011 20:52:39 +0000 (22:52 +0200)]
GtkFontChooserDialog: Split the dialog out of gtkfontchooser.[ch] to gtkfontchooserdialog.[ch]

14 years agoGtkFontChooser: Use symbolic icons in the filter entry
Alberto Ruiz [Wed, 11 May 2011 14:58:51 +0000 (16:58 +0200)]
GtkFontChooser: Use symbolic icons in the filter entry

14 years agoGtkFontChooser: Now shearch filters each individual term rather than the whole string...
Alberto Ruiz [Wed, 11 May 2011 14:47:15 +0000 (16:47 +0200)]
GtkFontChooser: Now shearch filters each individual term rather than the whole string at once

14 years agoGtkFontChooser: Restore automatic alignment on scroll to selection
Alberto Ruiz [Wed, 11 May 2011 14:36:28 +0000 (16:36 +0200)]
GtkFontChooser: Restore automatic alignment on scroll to selection

14 years agoGtkFontChooser: Removed support for deprecated functionality from GtkFontSelector
Alberto Ruiz [Wed, 11 May 2011 13:59:23 +0000 (15:59 +0200)]
GtkFontChooser: Removed support for deprecated functionality from GtkFontSelector

14 years agoGtkFontChooser: Expose the new widget in gtk.h and add test cases
Alberto Ruiz [Wed, 11 May 2011 13:48:21 +0000 (15:48 +0200)]
GtkFontChooser: Expose the new widget in gtk.h and add test cases

14 years agoGtkFontChooser: Renaming the class names and fixing the tests
Alberto Ruiz [Wed, 11 May 2011 13:21:55 +0000 (15:21 +0200)]
GtkFontChooser: Renaming the class names and fixing the tests

14 years agoGtkFontChooser: Remove wrong usage of GTK_DISABLE_DEPRECATED
Alberto Ruiz [Sun, 8 May 2011 14:45:20 +0000 (15:45 +0100)]
GtkFontChooser: Remove wrong usage of GTK_DISABLE_DEPRECATED

14 years agoGtkFontChooser: Check if the deprecated widgets are present before updating the size...
Alberto Ruiz [Wed, 4 May 2011 22:23:13 +0000 (23:23 +0100)]
GtkFontChooser: Check if the deprecated widgets are present before updating the size list

14 years agoGtkFontChooser: Update fontlist on style change
Alberto Ruiz [Wed, 4 May 2011 22:07:16 +0000 (23:07 +0100)]
GtkFontChooser: Update fontlist on style change

14 years agoGtkFontChooser: Add a property to control whether the preview entry is shown or not
Alberto Ruiz [Wed, 4 May 2011 19:29:26 +0000 (20:29 +0100)]
GtkFontChooser: Add a property to control whether the preview entry is shown or not

14 years agoGtkFontChooser: Better test preview text
Alberto Ruiz [Tue, 3 May 2011 23:30:37 +0000 (00:30 +0100)]
GtkFontChooser: Better test preview text

14 years agoGtkFontChooser: Use GTK_DISABLE_DEPRECATED on the test code
Alberto Ruiz [Tue, 3 May 2011 23:29:38 +0000 (00:29 +0100)]
GtkFontChooser: Use GTK_DISABLE_DEPRECATED on the test code

14 years agoGtkFontChooser: Add gtk_font_selection_dialog_get_select_button and use GTK_DISABLE_D...
Alberto Ruiz [Tue, 3 May 2011 23:24:35 +0000 (00:24 +0100)]
GtkFontChooser: Add gtk_font_selection_dialog_get_select_button and use GTK_DISABLE_DEPRECATED in gtkfontsel.h

14 years agoGtkFontChooser: Changed dialog label from OK to Select, deprecated get_ok_button...
Alberto Ruiz [Tue, 3 May 2011 23:14:31 +0000 (00:14 +0100)]
GtkFontChooser: Changed dialog label from OK to Select, deprecated get_ok_button and internal apply button.

14 years agoGtkFontChooser: Added test for GtkFontSelectionDialog
Alberto Ruiz [Tue, 3 May 2011 23:13:02 +0000 (00:13 +0100)]
GtkFontChooser: Added test for GtkFontSelectionDialog

14 years agoGtkFontChooser: implement gtk_font_selection_set/get_preview_text
Alberto Ruiz [Tue, 3 May 2011 18:59:57 +0000 (19:59 +0100)]
GtkFontChooser: implement gtk_font_selection_set/get_preview_text

14 years agoGtkFontChooser: check if font name is NULL in gtk_font_selection_set_font_name
Alberto Ruiz [Tue, 3 May 2011 00:37:48 +0000 (01:37 +0100)]
GtkFontChooser: check if font name is NULL in gtk_font_selection_set_font_name

14 years agoGtkFontChooser: gtk_font_selection_set_font_name implementation
Alberto Ruiz [Tue, 3 May 2011 00:09:12 +0000 (01:09 +0100)]
GtkFontChooser: gtk_font_selection_set_font_name implementation

14 years agoGtkFontChooser: Setting the font-name property. Test updates. Remove warnings.
Alberto Ruiz [Sun, 1 May 2011 11:12:13 +0000 (12:12 +0100)]
GtkFontChooser: Setting the font-name property. Test updates. Remove warnings.

14 years agoGtkFontChooser: Improve bootstrapping of the deprecated lists
Alberto Ruiz [Sun, 1 May 2011 02:42:24 +0000 (03:42 +0100)]
GtkFontChooser: Improve bootstrapping of the deprecated lists

14 years agoGtkFontChooser: Update selection on deprecated size list selection
Alberto Ruiz [Sun, 1 May 2011 02:33:47 +0000 (03:33 +0100)]
GtkFontChooser: Update selection on deprecated size list selection

14 years agoGtkFontChooser: Update selection on deprecated face or font list selection
Alberto Ruiz [Sun, 1 May 2011 02:25:37 +0000 (03:25 +0100)]
GtkFontChooser: Update selection on deprecated face or font list selection

14 years agoGtkFontChooser: Update size when selecting an item of the deprecated size list
Alberto Ruiz [Sun, 1 May 2011 01:25:13 +0000 (02:25 +0100)]
GtkFontChooser: Update size when selecting an item of the deprecated size list

14 years agoGtkFontChooser: Blocking the cursor change callbacks from happening on the deprecated...
Alberto Ruiz [Sun, 1 May 2011 01:11:46 +0000 (02:11 +0100)]
GtkFontChooser: Blocking the cursor change callbacks from happening on the deprecated widgets when selecting the font from the fontselector

14 years agoGtkFontChooser: Update deprecated font list on slection
Alberto Ruiz [Sun, 1 May 2011 00:06:06 +0000 (01:06 +0100)]
GtkFontChooser: Update deprecated font list on slection

14 years agoGtkFontChooser: Refactoring the default font size, face and family assignment for...
Alberto Ruiz [Sat, 30 Apr 2011 09:54:50 +0000 (10:54 +0100)]
GtkFontChooser: Refactoring the default font size, face and family assignment for clarity

14 years agoGtkFontChooser: Use the theme font as the default font
Alberto Ruiz [Fri, 29 Apr 2011 12:19:57 +0000 (13:19 +0100)]
GtkFontChooser: Use the theme font as the default font

14 years agoGtkFontChooser: Add callbacks and improve test to take deprecated widgets into account
Alberto Ruiz [Fri, 29 Apr 2011 11:14:30 +0000 (12:14 +0100)]
GtkFontChooser: Add callbacks and improve test to take deprecated widgets into account

14 years agoGtkFontChooser: Use GTK_DISABLE_DEPRECATED to encapsulate the deprecated functionality
Alberto Ruiz [Thu, 28 Apr 2011 18:17:20 +0000 (19:17 +0100)]
GtkFontChooser: Use GTK_DISABLE_DEPRECATED to encapsulate the deprecated functionality

14 years agoGtkFontChooser: Unref deprecated widgets on finalize
Alberto Ruiz [Thu, 28 Apr 2011 01:46:09 +0000 (02:46 +0100)]
GtkFontChooser: Unref deprecated widgets on finalize

14 years agoGtkFontChooser: Use scrolled windows for the deprecated widgets
Alberto Ruiz [Thu, 28 Apr 2011 01:20:04 +0000 (02:20 +0100)]
GtkFontChooser: Use scrolled windows for the deprecated widgets

14 years agoGtkFontChooser: Populate face names in the deprecated face list
Alberto Ruiz [Thu, 28 Apr 2011 01:11:07 +0000 (02:11 +0100)]
GtkFontChooser: Populate face names in the deprecated face list

14 years agoGtkFontChooser: Populate font family names in the deprecated family list
Alberto Ruiz [Thu, 28 Apr 2011 00:57:02 +0000 (01:57 +0100)]
GtkFontChooser: Populate font family names in the deprecated family list